home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: UNIX C experts
- Date: Sun, 10 Mar 96 14:17:45 GMT
- Organization: none
- Message-ID: <826467465snz@genesis.demon.co.uk>
- References: <4hu6td$752@falcon.ccs.uwo.ca>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4hu6td$752@falcon.ccs.uwo.ca>
- witold@mustang.uwo.ca "Witold A. Batorowicz" writes:
-
- >Hello!
- > I actually have two questions:
- >1. How do we debug a program written in C with either dbx or gdb that has
- >arguments passed to the main(). Eg. Suppose my program is called test,
- >therefore I would call it: test arg1 arg2. I tried gdb test arg1 arg2 but it
- >doesn't work, and the documentation is not very intuitive...;-(
-
- For Unix related programming questions post to comp.unix.programmer.
- comp.lang.c is for discussion of the C language itself and does not cover
- implementation specific issues such as debuggers.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-